package com.example.blog.config;


import com.example.blog.model.Result;

public class BlogException extends RuntimeException {
    private Result result = new Result<>();
    public BlogException(String message) {
        result.setErrMsg(message);
        result.setCode(-1);
    }
}
